<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>sysmonpsv: xsysmonpsv_services.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">sysmonpsv
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xsysmonpsv__services_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xsysmonpsv_services.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a27ee2cbf4e86a5e66f8ed744187a805f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsysmonpsv__services_8h.html#a27ee2cbf4e86a5e66f8ed744187a805f">XSysMonPsv_EnableVoltageEvents</a> (<a class="el" href="struct_x_sys_mon_psv.html">XSysMonPsv</a> *InstancePtr, u32 Supply, u32 IntrNum)</td></tr>
<tr class="memdesc:a27ee2cbf4e86a5e66f8ed744187a805f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables voltage event for the supply.  <a href="#a27ee2cbf4e86a5e66f8ed744187a805f">More...</a><br/></td></tr>
<tr class="separator:a27ee2cbf4e86a5e66f8ed744187a805f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae768764267b169d51b366abe2c67e6ad"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="xsysmonpsv__services_8h.html#ae768764267b169d51b366abe2c67e6ad">XSysMonPsv_DisableVoltageEvents</a> (<a class="el" href="struct_x_sys_mon_psv.html">XSysMonPsv</a> *InstancePtr, u32 Supply)</td></tr>
<tr class="memdesc:ae768764267b169d51b366abe2c67e6ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables voltage event for the supply.  <a href="#ae768764267b169d51b366abe2c67e6ad">More...</a><br/></td></tr>
<tr class="separator:ae768764267b169d51b366abe2c67e6ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ae768764267b169d51b366abe2c67e6ad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XSysMonPsv_DisableVoltageEvents </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sys_mon_psv.html">XSysMonPsv</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Supply</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables voltage event for the supply. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the driver instance. </td></tr>
    <tr><td class="paramname">Supply</td><td>Enum from the XSysMonPsv_Supply.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>-XST_FAILURE if error.<ul>
<li>XST_SUCCESS if successful. </li>
</ul>
</li>
</ul>
</dd></dl>

<p>References <a class="el" href="xsysmonpsv__common_8h.html#a16099b2571d3ca0524e7e54165aa80d6">ALARM_REG</a>, <a class="el" href="xsysmonpsv__common_8h.html#abb9e93a5e3a832c42d695231684ba43d">ALARM_SHIFT</a>, <a class="el" href="struct_x_sys_mon_psv.html#addcacffd66e527f65d6bfd53bcb44605">XSysMonPsv::Config</a>, <a class="el" href="struct_x_sys_mon_psv___config.html#a8dd8a0f21ce7dda3a56d1526c3e8f676">XSysMonPsv_Config::Supply_List</a>, <a class="el" href="group__sysmonpsv__api.html#ga9113de15440d133d50790fe91a6d45c0">XSYSMONPSV_ALARM_REG0</a>, <a class="el" href="xsysmonpsv__direct_8c.html#af4320c775170d738c09e9514f8ed0578">XSysMonPsv_ReadReg32()</a>, and <a class="el" href="xsysmonpsv__direct_8c.html#a858045476b6a6087db4ca972b571177b">XSysMonPsv_WriteReg32()</a>.</p>

</div>
</div>
<a class="anchor" id="a27ee2cbf4e86a5e66f8ed744187a805f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int XSysMonPsv_EnableVoltageEvents </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_sys_mon_psv.html">XSysMonPsv</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Supply</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>IntrNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables voltage event for the supply. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>Pointer to the driver instance. </td></tr>
    <tr><td class="paramname">Supply</td><td>Enum from the XSysMonPsv_Supply. </td></tr>
    <tr><td class="paramname">IntrNum</td><td>Interrupt Offset.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>-XST_FAILURE if error.<ul>
<li>XST_SUCCESS if successful. </li>
</ul>
</li>
</ul>
</dd></dl>

<p>References <a class="el" href="xsysmonpsv__common_8h.html#a16099b2571d3ca0524e7e54165aa80d6">ALARM_REG</a>, <a class="el" href="xsysmonpsv__common_8h.html#abb9e93a5e3a832c42d695231684ba43d">ALARM_SHIFT</a>, <a class="el" href="struct_x_sys_mon_psv.html#addcacffd66e527f65d6bfd53bcb44605">XSysMonPsv::Config</a>, <a class="el" href="xsysmonpsv__common_8h.html#a19668d9ffa3ce7d0838b70efa933fc08">GET_BIT</a>, <a class="el" href="struct_x_sys_mon_psv___config.html#a8dd8a0f21ce7dda3a56d1526c3e8f676">XSysMonPsv_Config::Supply_List</a>, <a class="el" href="group__sysmonpsv__api.html#ga9113de15440d133d50790fe91a6d45c0">XSYSMONPSV_ALARM_REG0</a>, <a class="el" href="xsysmonpsv__common_8c.html#a4ae75168c5bf36923920778a77c15190">XSysMonPsv_InterruptEnable()</a>, <a class="el" href="xsysmonpsv__direct_8c.html#af4320c775170d738c09e9514f8ed0578">XSysMonPsv_ReadReg32()</a>, and <a class="el" href="xsysmonpsv__direct_8c.html#a858045476b6a6087db4ca972b571177b">XSysMonPsv_WriteReg32()</a>.</p>

<p>Referenced by <a class="el" href="xsysmonpsv__intr__example_8c.html#a08f29d1a3ede32c28ff1b454b3b68a28">SysMonPsvIntrExample()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
